package com.woniuxy.enjoylife.controller;


import com.woniuxy.enjoylife.entity.Server_type;
import com.woniuxy.enjoylife.service.Server_typeService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author teamEnjoyLife75
 * @since 2021-01-19
 */
@RestController
@RequestMapping("/serverType")
public class Server_typeController {

    @Resource
    public Server_typeService ss;

    @RequestMapping("/selectServerTypeByCommunity")
    public List<Server_type> selectServerType(){
        return ss.selectServerType();
    }


}

